EinhugurMacOSBridge.NSControl
NSSegmentedControl
NSSegmentedControl | Constructor that takes String array with captions of the segments and click handler delegate. |
ClassName (Inherited) (desktop - console) | Returns the name of the Cocoa class under the hood as String. |
Enabled (Inherited) | Enables or disables the control. |
Handle (Inherited) | Returns Integer handle to the native NSObject structure. |
Hidden (Inherited) | A Boolean value indicating whether the view is hidden. |
NeedsDisplay (Inherited) | A Boolean value that determines whether the view needs to be redrawn before being displayed. |
SelectedSegment | Sets or gets Index of the selected segment. |
SubViews (Inherited) | Returns array as NSArray of views embedded in the current view. |
SuperView (Inherited) | Returns the superview which is the immediate ancestor of the current view. The value of this property is nil when the view is not installed in a view hierarchy. |
Tag (Inherited) | Tags allow you to identify particular controls. |
TextValue (Inherited) | Sets or gets the text value of the receiver’s cell. |
Window (Inherited) | The view’s window object, if it is installed in a window. |
AddSubview (Inherited) | Adds a view to the view’s subviews so it’s displayed above its siblings. |
AddSubview (Inherited) | Inserts a view among the view’s subviews so it’s displayed immediately above or below another view. |
shared Cast | Does deep cast on incoming NSObject to NSSegmentedControl. |
shared FromIntegerPtr | Constructs NSSegmentedControl object from Integer handle coming from declares or 3rd party plugin. |
shared FromPtr | Constructs NSSegmentedControl object from Ptr handle coming from declares or 3rd party plugin. |
Release (Inherited) | Releases the NSObject. |
RemoveFromSuperView (Inherited) | Unlinks the view from its superview and its window, removes it from the responder chain, and invalidates its cursor rectangles. |
Retain (Inherited) | Retains the NSObject |
SegmentAlignment | Getter setter method for setting or getting the text alignment for the segment. |
SegmentEnabled | Getter setter method for setting or getting the enabled state for the segment. |
SegmentImage | Getter setter method for setting or getting the image of the segment at given index. |
SegmentLabel | Getter setter method for setting or getting the label text of the segment at given index. |
SegmentTooltip | Getter setter method for setting or getting the tooltip text of the segment at given index. |
SegmentWidth | Sets or gets the width of the specified segment by given index. |
SetFrameOrigin (Inherited) | Sets the origin of the view’s frame rectangle to the specified point, effectively repositioning it within its superview. |
SegmentedControlClickDelegate | Delegate that defines click handler for NSSegmentedControl. |
Version = 5.0 (Inherited) |